<%--
  Created by IntelliJ IDEA.
  User: Fan
  Date: 2016/10/8
  Time: 10:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.education.service.bean.UserBean"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>提示信息</title>
</head>
<style type="text/css">
    body{
        background: url(/images/background4.jpg);
        background-size: 100%;
    }
</style>

<body>
<%
    // 获取提示信息
    String info = (String) request.getAttribute("info");
    // 如果提示信息不为空，则输出提示信息
    if (info != null) {
        out.println(info);
    }
    // 获取登录的用户信息
    UserBean bean = (UserBean) session.getAttribute("UserBean");
    // 判断用户是否登录
    if (bean != null) {
%>
<br>
<br>
<br>

<table align="center" width="350" border="1" height="200"
       bordercolor="#E8F4CC">
    <tr>
        <td align="center" colspan="2"><span
                style="font-weight: bold;font-size: 18px;"></span> 显示信息</td>
    </tr>
    <%--<tr>--%>
    <%--<td align="left" width="30%">id：</td>--%>
    <%--<td><%=bean.getUserID()%></td>--%>
    <%--</tr>--%>
    <tr>
        <td align="left">用户：</td>
        <td><%=bean.getPhone()%></td>
    </tr>
</table>
<%
    } else {
        //out.println("<br>对不起，您还没有登录！");
    }
%>
</body>
</html>